3.78 \(\int x^{3+m} \sinh (a+b x) \, dx\)

Optimal. Leaf size=59 \[ \frac{e^{-a} x^m (b x)^{-m} \text{Gamma}(m+4,b x)}{2 b^4}-\frac{e^a x^m (-b x)^{-m} \text{Gamma}(m+4,-b x)}{2 b^4} \]

[Out]

-(E^a*x^m*Gamma[4 + m, -(b*x)])/(2*b^4*(-(b*x))^m) + (x^m*Gamma[4 + m, b*x])/(2*b^4*E^a*(b*x)^m)

________________________________________________________________________________________

Rubi [A]  time = 0.0777343, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3308, 2181} \[ \frac{e^{-a} x^m (b x)^{-m} \text{Gamma}(m+4,b x)}{2 b^4}-\frac{e^a x^m (-b x)^{-m} \text{Gamma}(m+4,-b x)}{2 b^4} \]

Antiderivative was successfully verified.

[In]

Int[x^(3 + m)*Sinh[a + b*x],x]

[Out]

-(E^a*x^m*Gamma[4 + m, -(b*x)])/(2*b^4*(-(b*x))^m) + (x^m*Gamma[4 + m, b*x])/(2*b^4*E^a*(b*x)^m)

Rule 3308

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rubi steps

\begin{align*} \int x^{3+m} \sinh (a+b x) \, dx &=\frac{1}{2} \int e^{-i (i a+i b x)} x^{3+m} \, dx-\frac{1}{2} \int e^{i (i a+i b x)} x^{3+m} \, dx\\ &=-\frac{e^a x^m (-b x)^{-m} \Gamma (4+m,-b x)}{2 b^4}+\frac{e^{-a} x^m (b x)^{-m} \Gamma (4+m,b x)}{2 b^4}\\ \end{align*}

Mathematica [A]  time = 0.0258614, size = 54, normalized size = 0.92 \[ \frac{e^{-a} x^m \left ((b x)^{-m} \text{Gamma}(m+4,b x)-e^{2 a} (-b x)^{-m} \text{Gamma}(m+4,-b x)\right )}{2 b^4} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(3 + m)*Sinh[a + b*x],x]

[Out]

(x^m*(-((E^(2*a)*Gamma[4 + m, -(b*x)])/(-(b*x))^m) + Gamma[4 + m, b*x]/(b*x)^m))/(2*b^4*E^a)

________________________________________________________________________________________

Maple [C]  time = 0.042, size = 73, normalized size = 1.2 \begin{align*}{\frac{{x}^{4+m}\sinh \left ( a \right ) }{4+m}{\mbox{$_1$F$_2$}(2+{\frac{m}{2}};\,{\frac{1}{2}},3+{\frac{m}{2}};\,{\frac{{x}^{2}{b}^{2}}{4}})}}+{\frac{b{x}^{5+m}\cosh \left ( a \right ) }{5+m}{\mbox{$_1$F$_2$}({\frac{5}{2}}+{\frac{m}{2}};\,{\frac{3}{2}},{\frac{7}{2}}+{\frac{m}{2}};\,{\frac{{x}^{2}{b}^{2}}{4}})}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(3+m)*sinh(b*x+a),x)

[Out]

1/(4+m)*x^(4+m)*hypergeom([2+1/2*m],[1/2,3+1/2*m],1/4*x^2*b^2)*sinh(a)+b/(5+m)*x^(5+m)*hypergeom([5/2+1/2*m],[
3/2,7/2+1/2*m],1/4*x^2*b^2)*cosh(a)

________________________________________________________________________________________

Maxima [A]  time = 1.23068, size = 74, normalized size = 1.25 \begin{align*} \frac{1}{2} \, \left (b x\right )^{-m - 4} x^{m + 4} e^{\left (-a\right )} \Gamma \left (m + 4, b x\right ) - \frac{1}{2} \, \left (-b x\right )^{-m - 4} x^{m + 4} e^{a} \Gamma \left (m + 4, -b x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(3+m)*sinh(b*x+a),x, algorithm="maxima")

[Out]

1/2*(b*x)^(-m - 4)*x^(m + 4)*e^(-a)*gamma(m + 4, b*x) - 1/2*(-b*x)^(-m - 4)*x^(m + 4)*e^a*gamma(m + 4, -b*x)

________________________________________________________________________________________

Fricas [A]  time = 2.79044, size = 258, normalized size = 4.37 \begin{align*} \frac{\cosh \left ({\left (m + 3\right )} \log \left (b\right ) + a\right ) \Gamma \left (m + 4, b x\right ) + \cosh \left ({\left (m + 3\right )} \log \left (-b\right ) - a\right ) \Gamma \left (m + 4, -b x\right ) - \Gamma \left (m + 4, -b x\right ) \sinh \left ({\left (m + 3\right )} \log \left (-b\right ) - a\right ) - \Gamma \left (m + 4, b x\right ) \sinh \left ({\left (m + 3\right )} \log \left (b\right ) + a\right )}{2 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(3+m)*sinh(b*x+a),x, algorithm="fricas")

[Out]

1/2*(cosh((m + 3)*log(b) + a)*gamma(m + 4, b*x) + cosh((m + 3)*log(-b) - a)*gamma(m + 4, -b*x) - gamma(m + 4,
-b*x)*sinh((m + 3)*log(-b) - a) - gamma(m + 4, b*x)*sinh((m + 3)*log(b) + a))/b

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(3+m)*sinh(b*x+a),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m + 3} \sinh \left (b x + a\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(3+m)*sinh(b*x+a),x, algorithm="giac")

[Out]

integrate(x^(m + 3)*sinh(b*x + a), x)